/**
 * author ：Peakmain
 * createTime：2024/9/20
 * mail:2726449200@qq.com
 * describe：
 */
import { webview } from '@kit.ArkWeb';
import { UIContext } from '@kit.ArkUI';

export class WebUrlBean {
  scheme: string = ""
  authority: string = ""
  params: WebUrlParams | null = null
  path: string = ""
  controller?: webview.WebviewController
  context?: UIContext

  constructor(scheme: string, authority: string, params: WebUrlParams | null, path: string) {
    this.scheme = scheme
    this.authority = authority
    this.params = params
    this.path = path
  }
}

export class WebUrlParams {
  callId: string = ""
  data: object
}